package org.itboys.core.entity.mysql;

import org.itboys.mysql.entity.BaseMySqlEntity;

/**
 * @Author：贾琦磊
 * @Date：2018/8/29
 * @Description：优惠券领用表
 */
public class SundayCouponReceive extends BaseMySqlEntity {
    /**
     * 优惠券编号
     */
    private String couponNumber;
    /**
     * 优惠券id
     */
    private Long couponId;
    /**
     * 优惠券名称
     */
    private String couponName;
    /**
     * 使用日期
     */
    private String useDate;
    /**
     *用户id
     */
    private Long memberId;

    /**
     * 领用人姓名
     */
    private String memberName;
    /**
     * 领取时间
     */
    private String receiveDate;


    public String getCouponNumber() {
        return couponNumber;
    }

    public void setCouponNumber(String couponNumber) {
        this.couponNumber = couponNumber;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getUseDate() {
        return useDate;
    }

    public void setUseDate(String useDate) {
        this.useDate = useDate;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getReceiveDate() {
        return receiveDate;
    }

    public void setReceiveDate(String receiveDate) {
        this.receiveDate = receiveDate;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SundayCouponReceive{");
        sb.append("couponNumber='").append(couponNumber).append('\'');
        sb.append(", couponId=").append(couponId);
        sb.append(", couponName='").append(couponName).append('\'');
        sb.append(", useDate='").append(useDate).append('\'');
        sb.append(", memberId=").append(memberId);
        sb.append(", memberName='").append(memberName).append('\'');
        sb.append(", receiveDate='").append(receiveDate).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
